package com.ruoyi.back.domain

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import javax.persistence.*

@ApiModel("用户水印设置")
@Entity
@Table(name = "fly_app_user_setting")
@TableName("fly_app_user_setting")
data class AppUserSetting(

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id 更新的时候需要传递", hidden = true)
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    var id: Long? = null,

    @ApiModelProperty(hidden = true)
    var userId: Long? = null,

    @ApiModelProperty("软件水印标识")
    var softWatermark: Boolean? = null,

    @ApiModelProperty("ai水印标识")
    var aiWatermark: Boolean? = null,
)
